﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Data.OleDb;
namespace DAO
{
    public class DataProvider
    {
        public OleDbConnection ConnectionData()
        {
            //Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\myFolder\myAccess2007file.accdb;Persist Security Info=False;
            string connStr = "Provider = Microsoft.ACE.OLEDB.12.0; Data Source = 0612180_0612184_MaHoa.accdb;Persist Security Info=False";
            OleDbConnection cn = new OleDbConnection(connStr);
            cn.Open();
            return cn;
        }
    }
}
